﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hotnet.Entity;
using Hotnet.Dal.NSDalVideo;
using Hotnet.Entity.Enum;

namespace Hotnet.Biz.NSBizVideo
{
	public class BizCastCharacter : BaseBiz<CastCharacter>
	{
		private static DalCastCharacter db = new DalCastCharacter();
		public BizCastCharacter() : base(db) { }

		public void Insert(List<CastCharacter> models)
		{
			db.Insert(models);
		}


		public CastCharacter[] ListVideoCastCharacters(int id)
		{
			return db.ListVideoCastCharacters(id);
		}

		
		/// <summary>
		/// 列出video的演员列表 star
		/// </summary>
		/// <param name="id"></param>
		/// <returns></returns>
		public Star[] ListVideoCastStars(int id)
		{
			return db.ListVideoCastStars(id);
		}

		public override void Delete(int id)
		{
			db.Delete(id);
		}
	}
}
